﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using System.ServiceModel.Description;


namespace GameHost
{
    class Program
    {
        static void Main(string[] args)
        {
            /*
            using (ServiceHost host = new ServiceHost(typeof(GameService), new Uri("net.pipe://localhost")))
            {
                try
                {
                    host.AddServiceEndpoint(typeof(IGameService), new NetNamedPipeBinding(), "PipeGame");
                    
                    host.Open();

                    Console.WriteLine("Press any key...");
                    Console.ReadLine();
                    host.Close();
                }
                catch (CommunicationException ce)
                {
                    Console.WriteLine("Exception");
                    host.Abort();
                }
            }

*/
        }
      
    }
}
